package com.youcan.entity;

import java.util.Date;


/**
 * @author LiChao E-mail:what_is_javascript@163.com
 * @date:2012-8-18 上午12:07:06
 * @version :V1.0
 *
 */
public class Order implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1536397270721437597L;
	private String orderId;
	private Integer userId;
	private Date orderTime;
	private Double price;
	private Integer amount;
	private String status;
	private String address;
	private String phoneNumber;
	private String storeId;

	// Constructors

	/** default constructor */
	public Order() {
	}

	/** minimal constructor */
	public Order(String orderId) {
		this.orderId = orderId;
	}

	/** full constructor */
	public Order(String orderId, Integer userId, Date orderTime,
			Double price, Integer amount, String status, String address,
			String phoneNumber, String storeId) {
		this.orderId = orderId;
		this.userId = userId;
		this.orderTime = orderTime;
		this.price = price;
		this.amount = amount;
		this.status = status;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.storeId = storeId;
	}

	// Property accessors
	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Date getOrderTime() {
		return this.orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhoneNumber() {
		return this.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getStoreId() {
		return this.storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

}